var DataTypes = require('sequelize').DataTypes
var _article = require('./article')
var _category = require('./category')
var _manager = require('./manager')
var _setting = require('./setting')
var _students = require('./students')
var _tag = require('./tag')
var _users = require('./users')

function initModels(sequelize) {
  var article = _article(sequelize, DataTypes)
  var category = _category(sequelize, DataTypes)
  var manager = _manager(sequelize, DataTypes)
  var setting = _setting(sequelize, DataTypes)
  var students = _students(sequelize, DataTypes)
  var tag = _tag(sequelize, DataTypes)
  var users = _users(sequelize, DataTypes)

  return {
    article,
    category,
    manager,
    setting,
    students,
    tag,
    users,
  }
}
module.exports = initModels
module.exports.initModels = initModels
module.exports.default = initModels
